import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '任务描述',
    align: "center",
    dataIndex: 'description'
  },
  {
    title: '办理人',
    align: "center",
    dataIndex: 'transactors'
  },
  {
    title: '审核人',
    align: "center",
    dataIndex: 'reviewer'
  },
  {
    title: '截至日期',
    align: "center",
    dataIndex: 'completionDeadline'
  },
];

// 高级查询数据
export const superQuerySchema = {
  description: {title: '任务描述',order: 0,view: 'text', type: 'string',},
  transactors: {title: '办理人',order: 1,view: 'text', type: 'string',},
  reviewer: {title: '审核人',order: 2,view: 'text', type: 'string',},
  completionDeadline: {title: '截至日期',order: 3,view: 'datetime', type: 'string',},
};
